<p id="notice"><%= notice %></p>

<p>
  <b>Title:</b>
  <%= @post.title %>
</p>

<p>
  <b>Content:</b>
  <%= @post.content %>
</p>


<%= link_to 'Edit', edit_post_path(@post) %> |
<%= link_to 'Back', posts_path %>

<hr />

<% @comments.each do |comment| %>

<p>	<%= comment.message %> |
	<%= link_to 'Edit', edit_post_comment_path(@post, comment) %> |
	<%= link_to 'Destroy', post_comment_path(@post, comment), :confirm => 'Are you sure?', :method => :delete %>
</p>
<% end  %>

<p><%= link_to 'New', new_post_comment_path(@post) %></p>
